package controller;

import model.*;
import dao.*;
import dao.daoimpl.*;
import java.util.*;
import services.*;

/*
 * 仅完成Homework1，通过命令行输入add-member命令则调用add_Member函数，参数需要在形参里写入，输入add-card调用
 * add_Card函数
*/
public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		Command cmd = new Command();
		while (true) {
			String inString = in.nextLine();
			if (inString.equals("add-member")) {
				cmd.add_Member("三傻", "君临", "傻妞妞");

			} else if (inString.equals("add-card")) {
				cmd.add_Card("三傻", 1);

				cmd.add_Card("囧恩", 2, 100);

			}

		}
	}

}
